package org.divineryang.service;

import com.github.pagehelper.PageInfo;
import org.divineryang.model.entity.product.Brand;

import java.util.List;

/**
 * @program new-bee
 * @Description
 * @Author Diviner Yang
 * @Date 2024/04/25 9:58
 * @Version 1.0
 */
public interface BrandService {
    PageInfo<Brand> findByPage(Integer page, Integer limit);

    void save(Brand brand);

    void updateById(Brand brand);

    void deleteById(Long id);

    List<Brand> findAll();
}
